<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html class="jp-pc w1200">
<head>
<title>淘宝优惠券</title>
<meta content="" name="keywords">
<meta content="" name="description">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<style>
	.title{
		color:gray;
		text-decoration:none
	}
	.quan{
		color:green;
	}
	a{
		text-decoration:none;
	}
	a:hover{
		color:red;
	}
</style>
</head>
<body>
<div style="width:900px;margin:0 auto;">
	<ul style="list-style:none;width:100%;float:left;margin:0 0;padding:0 0;">
	<?php if(is_array($res)): $i = 0; $__LIST__ = $res;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li style="float:left;width:150px;height:280px">
			<div><img src="<?php echo ($vo["商品主图"]); ?>_140x140"></div>
			<div class="title" title="<?php echo ($vo["商品名称"]); ?>"><?php echo (msubstr($vo["商品名称"],0,12,'utf-8',true)); ?></div>
			<div><a class="quan" href="<?php echo ($vo["优惠券链接"]); ?>">领券:<?php echo ($vo["优惠券面额"]); ?></a></div>
			<div>
				<font color="red">￥</font>
				<font style="color:red;font-size:20px;font-weight:bold;"><?php echo ($vo["商品价格(单位：元)"]); ?></font>
				<a href="<?php echo ($vo["淘宝客链接"]); ?>">
				<font style="color:white;background:red;border-radius:3px;padding:5px 10px;">抢购</font>
				</a>
			</div>
		</li><?php endforeach; endif; else: echo "" ;endif; ?>
	</ul>
</div>
</body>
</html>